package com.tuniu.agents.tools.flights.utils;

import java.util.List;


/**
 * Basic flight information that needs to be stored in the context, avoiding storing too much unnecessary information in the context.
 */


public class FlightBaseInfo {

    private List<FlightInfo> flightInfo;

    private List<CabinInfo> cabinInfo;


    public List<CabinInfo> getCabinInfo() {
        return cabinInfo;
    }

    public void setCabinInfo(List<CabinInfo> cabinInfo) {
        this.cabinInfo = cabinInfo;
    }

    public List<FlightInfo> getFlightInfo() {
        return flightInfo;
    }

    public void setFlightInfo(List<FlightInfo> flightInfo) {
        this.flightInfo = flightInfo;
    }

    public record FlightInfo(
            String departureAirport,
            String arrivalAirport,
            String flightNumber,
            String crafType,
            String departureTime,
            String arrivalTime,
            String airlineCompany,
            String departureCityName,
            String arrivalCityName){

    }

    public record CabinInfo(
            String priceWithTax,
            String refundChangeRule,
            String baggageInfo,
            String remainingSeats,
            String cabinClass,
            List<AiCabinInfo> aiCabinInfos){
    }

    public record AiCabinInfo(
            String refundChangeRule,
            String baggageInfo,
            String remainingSeats){

    }
}
